home *** CD-ROM | disk | FTP | other *** search
- /*
- * signal.h
- */
-
- /*
- * 3.3.91 sjw; K&R2
- * 10.4.91 sjw; correct types of predefined actions
- */
-
- #ifndef __SIGNAL_H__
- #define __SIGNAL_H__
-
- #define NSIG 9
- #define SIGINT 2 /* console interrupt */
- #define SIGFPE 8 /* floating point exception */
- #define SIG_DFL (void (*)())0 /* default action */
- #define SIG_IGN (void (*)())1 /* ignore the signal */
- #define SIG_ERR (void (*)())(-1) /* error return */
-
- void (*signal(int sig, void (*handler)(int)))(int);
- #if 0
- int raise(int sig);
- #endif
-
- #endif /* __SIGNAL_H__ */
-
-